package com.fast.develop.core.io;

import java.io.IOException;
import java.io.InputStream;

/**
 * @author 莫寅
 * @createTime 2022-06-010 02:10
 * @desc：
 */
public interface File extends Resource {

    String getName();

    boolean exists();

    InputStream getContents() throws IOException;

    void setContents(InputStream is) throws IOException;

    void create(InputStream is) throws IOException;

    Path getPath();
}
